home *** CD-ROM | disk | FTP | other *** search
- OPT PREPROCESS
-
- MODULE 'feelin','libraries/feelin'
-
- PROC main()
- DEF c,w,g,b,font
-
- font := 'Garnet/16'
-
- IF feelinbase := OpenLibrary('feelin.library',FV_VERSION)
- c := ClientObject,
- FA_Client_Title, 'Balancing',
- FA_Client_Version, '$VER: Balancing 1.00 (23-09-02)',
- FA_Client_Copyright, '©2000-2002, Olivier Laviale',
- FA_Client_Author, 'Olivier Laviale - (lotan9@aol.com)',
- FA_Client_Description, 'Show balancing groups',
- FA_Client_Base, 'BALANCING',
-
- Child, w := WindowObject,
- FA_ID, "MAIN",
- FA_Window_Title, 'Feelin : Balancing',
-
- Child, g := VGroup,
- Child, VGroup,
- Child, HGroup, /*FA_MaxHeight, 50, FA_MinWidth, 500,*/
- Child, colorbutton('c:FF0000','Red'),
- Child, colorbutton('c:FFFF00','Yellow'),
- Child, BalanceID(10),
- Child, colorbutton('c:00FF00','Green',[FA_Fixed,TRUE,NIL]),
- Child, colorbutton('c:00FFFF','Cian'),
- Child, colorbutton('c:0000FF','Blue'),
- End,
-
- Child, BalanceID(11),
-
- Child, HGroup, FA_MaxWidth,300, /*FA_MaxHeight, 50, FA_MinWidth, 500,*/
- Child, colorbutton('c:FFFFFF','White'),
- Child, BalanceID(12),
- Child, colorbutton('c:000000','Black',[FA_Pen_Text,'c:FFFFFF',NIL]),
- End,
-
- Child, colorbutton('1:FF00FF','Magenta'),
- End,
-
- Child, VGroup,
- Child, Bar,
-
- Child, b := TextObject,
- FA_InputMode, FV_InputMode_Toggle,
- FA_Fixed, TRUE,
- FA_Inner, [6,3,6,3]:CHAR,
- FA_Frame, 033,
- FA_AltFrame, 000,
- FA_Back, FI_Fill,
- FA_AltBack, FI_Dark,
- FA_Text, 'T_oggle FA_Balance_QuickDraw',
- FA_Text_PreParse, '`Ss`Sh`<0>',
- FA_Text_AltPreParse, '`Sn`<1>',
- FA_Text_VCenter, TRUE,
- End,
- End,
- End,
- End,
- End
-
- IF c
- F_DoA(b,FM_Notify,[FA_Selected,FV_Notify_Always,g,5,FM_Set,FA_Balance_QuickDraw,FV_Notify_Value,FA_Group_Forward,TRUE])
- F_DoA(w,FM_Notify,[FA_Window_CloseRequest,TRUE, FV_Notify_Client, 2,FM_Client_ReturnID,FV_Client_Quit])
- F_Set(w,FA_Window_Open,TRUE)
-
- F_DoA(c,FM_Client_Run,NIL)
-
- F_DisposeObj(c)
- ENDIF
-
- CloseLibrary(feelinbase)
- ENDIF
- ENDPROC
-
- PROC colorbutton(ispec,label,tags=NIL)
- RETURN TextObject,
- FA_Back, ispec,
- FA_AltBack, FI_Highlight,
- FA_InputMode, FV_InputMode_Release,
- FA_Font, 'Garnet/16',
- FA_Text, label,
- FA_Text_VCenter, TRUE,
- FA_Text_PreParse, '`c',
- TAG_MORE, tags,
- End
- ENDPROC
-